package com.fix.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 一对多 映射
 * 班级里有学生集合
 *
 */
public class Classes {
	
	private int classId;
	private String className;
	//学生集合
	List<Student> stus;
	
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public List<Student> getStus() {
		return stus;
	}
	public void setStus(List<Student> stus) {
		this.stus = stus;
	}
	
	@Override
	public String toString() {
		return "Classes [classId=" + classId + ", className=" + className + ", stus=" + stus + "]";
	} 
}
